[-*(CHEMED) if user prefers a fancy calendar switch to a different template*-]
[-php-]
 $this->assign('cal_ui', $_SESSION['cal_ui']);
[-/php-]
[-if $cal_ui eq 2-]
    [-include file="$TPL_NAME/views/day/fancy_template.html"-]
[-elseif $cal_ui eq 3-]
    [-if $this->_tpl_vars['PRINT_VIEW'] == 1-]
        [-include file="$TPL_NAME/views/day_print/outlook_ajax_template.html"-]
    [-else-]
        [-include file="$TPL_NAME/views/day/ajax_template.html"-]
    [-/if-]
[-else-] [-*Use default template*-]
    [-include file="$TPL_NAME/views/day/orig_default.html"-]
[-/if-]
